package io.adrainty.bolee.security.service.impl;

import io.adrainty.bolee.security.models.entity.ClientEntity;
import io.adrainty.bolee.security.repository.IClientRepository;
import io.adrainty.bolee.security.service.IClientService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author AdRainty
 * @version V1.0.0
 * @since 2025/8/9 下午7:25
 */

@Service
public class ClientServiceImpl implements IClientService {

    @Resource
    private IClientRepository clientRepository;

    @Override
    public List<ClientEntity> getClientList() {
        return clientRepository.getClientList();
    }

    @Override
    public ClientEntity getClientEntity(String clientId) {
        return clientRepository.getClientEntity(clientId);
    }

}
